package org.bright.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.bright.entity.User;

import java.util.List;


public interface UserMapper extends BaseMapper<User> {
    @Select("select id,name,age,imgUrl from user")
    List<User> listAll();
}